package cn.java.homework02;

import java.net.InetAddress;

public class Test {
    public static void main(String[] args) throws Exception {
        InetAddress[] ias = InetAddress.getAllByName("www.baidu.com");
        for (InetAddress in : ias) {
            System.out.println(in);
        }
    }
}
